package com.example.zuelweb.service;

import com.example.zuelweb.entity.Reresult;
import org.springframework.stereotype.Service;

import java.util.List;


public interface FindService {

    //redis查找
    public String redisFind(String imageHash);
    //向redis中增添数据
    public void redisAdd(String imageHash,String result);

    //mysql查找
    public String mysqlFind(String imageHash);

    //向数据库增添数据
    public Integer mysqlAdd(String imageHash,String result);

    public List<Reresult> mysql_findall();

    public void mysql_delete(String filename);

}
